using System.Collections.Generic; 
using System.Text; 
using System;
using System.ComponentModel.DataAnnotations;
using Project.Entity.Base;
using System.Web.Mvc;
using Project.Common; 
namespace OASys.Entity {

	/// <summary>
	/// 企业基本信息
	/// </summary>
	public class  UTOrgCompany_Validation
	{
		

					/// <summary>
			/// 
			/// Length : 
			/// </summary>
			public virtual System.Guid	ID{get;set;}
					 
						/// <summary>
			/// 组织机构代码
			/// Length : 9
			/// </summary>
            [Required(ErrorMessage = "请输入组织机构代码！")]
            [Export(DisplayName = "组织机构代码")]
            [Remote("RemoteCheckCompanyCode", "OrgCompany", "ModuleSys", AdditionalFields = "ID,IsNeedCompanyCodeValidate", ErrorMessage = "此组织机构代码已经存在！")]
			public virtual System.String	CompanyCode{get;set;}
					 
						/// <summary>
			/// 营业执照号码
			/// Length : 50
			/// </summary>
            [Export(DisplayName = "营业执照代码")]
			public virtual System.String	LicenseNo{get;set;}
					 
						/// <summary>
			/// 税务登记证号
			/// Length : 50
			/// </summary>
            [Export(DisplayName = "税务登记证号")]
			public virtual System.String	TaxRegisterNo{get;set;}
					 
						/// <summary>
			/// 企业中文名称
			/// Length : 100
			/// </summary>
            [Required(ErrorMessage = "请输入企业全称！")]
            [Remote("RemoteCheckOrgCompanyName", "OrgCompany", "ModuleSys", AdditionalFields = "ID,IsNeedCompanyNameValidate", ErrorMessage = "此企业名称已经存在！")]
            [Export(DisplayName = "企业全称")]
			public virtual System.String	CompanyName{get;set;}
					 
						/// <summary>
			/// 类型 0 普通企业 1 机关单位
			/// Length : 
			/// </summary>
            [Required(ErrorMessage = "请输入企业类型！")]
			public virtual System.Nullable<Int32>	CompanyType{get;set;}
					 
						/// <summary>
			/// 法人代表
			/// Length : 50
			/// </summary>
            [Required(ErrorMessage = "请输入法人代表！")]
			public virtual System.String	Corporation{get;set;}
					 
						/// <summary>
			/// 地址
			/// Length : 100
			/// </summary>
            [Required(ErrorMessage = "请输入企业地址！")]
            [Export(DisplayName = "企业地址")]
			public virtual System.String	Address{get;set;}
					 
						/// <summary>
			/// 传真
			/// Length : 30
			/// </summary>
			public virtual System.String	Fax{get;set;}
					 
						/// <summary>
			/// 邮件
			/// Length : 50
			/// </summary>
            [Required(ErrorMessage = "请输入邮箱！")]
            [RegularExpression(RegexHelper.Email,
                ErrorMessage = "请输入正确的Email格式")]
            [Export(DisplayName = "邮箱")]
			public virtual System.String	Email{get;set;}
					 
						/// <summary>
			/// 负责人
			/// Length : 50
			/// </summary>
            [Export(DisplayName = "联系人")]
            [Required(ErrorMessage = "请输入企业联系人")]
			public virtual System.String	LinkMan{get;set;}
					 
						/// <summary>
			/// 联系电话
			/// Length : 20
			/// </summary>
            [Required(ErrorMessage = "请输入企业联系电话！")]
            [Export(DisplayName = "联系电话")]
			public virtual System.String	LinkPhone{get;set;}
					 
						/// <summary>
			/// 企业电话
			/// Length : 20
			/// </summary>
            [RegularExpression(RegexHelper.Telephone, ErrorMessage = "请输入正确的电话号码！")]
            [Required(ErrorMessage = "请输入企业联系电话")]
			public virtual System.String	Telephone{get;set;}
					 
						/// <summary>
			/// 创建人
			/// Length : 
			/// </summary>
			public virtual System.Nullable<Guid>	InputUser{get;set;}
					 
						/// <summary>
			/// 创建日期
			/// Length : 
			/// </summary>
            [Export(DisplayName = "录入时间")]
			public virtual System.Nullable<DateTime>	InputDate{get;set;}
					 
						/// <summary>
			/// 修改人
			/// Length : 
			/// </summary>
			public virtual System.Nullable<Guid>	UpdateUser{get;set;}
					 
						/// <summary>
			/// 修改日期
			/// Length : 
			/// </summary>
			public virtual System.Nullable<DateTime>	UpdateDate{get;set;}
					 
				}
}
		